package cn.gemframe.config.security;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("gem.security.auth")
public class GemAuthProperties {

	//权限请求，是否开启验证
	private boolean openAuth = false;
	//是否开启所有请求认证
	private boolean allAuth = false;
	//权限验证 即时（验证）生效
	private boolean chkImmed = false;

}
